package com.xinpu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 销售员朋友圈背景表
 * </p>
 *
 * @author ayuan
 * @since 2021-06-04
 */
public class TSalesFriendsBack extends Model<TSalesFriendsBack> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 销售员编号
     */
    private String sid;

    /**
     * 用户头像
     */
    private String portrait;

    /**
     * 图片
     */
    private String img;

    /**
     * 租户编号
     */
    private String tenantId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TSalesFriendsBack{" +
        "id=" + id +
        ", sid=" + sid +
        ", portrait=" + portrait +
        ", img=" + img +
        ", tenantId=" + tenantId +
        "}";
    }
}
